package com.xz.knowledgeDuplication.pattern.factory.method_factory;

/**
 * 咖啡
 *
 * @author 召
 * @date 2022-03-02 21:13:47
 */
public abstract class Coffee {

    public abstract void getName();

    public void addMilk() {
        System.out.println("加奶");
    }

    public void addSugar() {
        System.out.println("加糖");
    }
}
